const Mock = require('mockjs')

const data = Mock.mock({
	
	formID: '@integer(0, 99)',
	companyID: '@integer(0, 299)',
	investigationID: '@integer(0, 9)',

	formStartTotalNum: 12,
	formEndTotalNum: 2,

	formDecreaseType:"",
	formFirstReason:'其他',	//产业结构调整，其他
	formSecondReason:'自行离职',
	formThirdReason:'',
	formReasonDescription:'',
	formExamineStatus: '@integer(0, 7)',

	companyChineseName:'@cword(4, 6)',

})


module.exports = [
	{
		url: '/enterprise/dataQuery/queryFormInfo',
		type: 'get',
		response: config => {
			console.log(config.query.formID)

			const items = data.items
			return {
				code: 200,
				data: {
					total: items.length,
					items: items
				}
			}
		}
	}
]
